differences between "d = dict()" and "d = {}"

Posted by Tshepang on Stack Overflow See other posts from Stack Overflow or by Tshepang
Published on 2010-04-30T13:58:07Z Indexed on 2010/04/30 14:17 UTC
Read the original article Hit count: 189

Filed under:
|
|

Why would one use one over the other:

  • d = dict() ~0.208 usec
  • d = {} ~0.06 usec

© Stack Overflow or respective owner

Related posts about python

Related posts about timing